package com.itheima.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.itheima.dto.CartDto;
import com.itheima.entity.Cart;

public interface CartMapper {

    List<CartDto> findCartList(Integer companyId);

    List<Cart> getListBySalesId(@Param("salesId") Integer salesId, @Param("companyId") Integer companyId);
}
